#ifndef __BUFF_MANAGER_H__
#define __BUFF_MANAGER_H__

struct BuffCSVInfo
{
	Int32			id;
	Int32			type;
	std::string		name;
	std::string		description;
	Int32			icon_id;

	BuffCSVInfo()
	{
		id = 0;
		type = 0;
		name = "";
		description = "";
		icon_id = 0;
	}
};
class BuffManager:public singleton<BuffManager>
{
public:
	BuffManager();
	virtual ~BuffManager();
	void loadBuffCSV();
	BuffCSVInfo* GetBuffCSVInfo(Int32 csv_id);
private:
	CSVReader m_csvReader;
	std::map<Int32,BuffCSVInfo> m_mapBuffCSV;
};
#endif
